package com.xtkj.superclub_tourpal.service;

import com.xtkj.commons.JsonResult;
import com.xtkj.superclub_entity.entity.tourpal.Team;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

public interface ITourpalService {

    List<Team> getTourPal(String userId);

    void createTourPal(String userId,Team team);

    void addTourPal(String userId, String teamId);

    List<Team> preAddTourPal(String addInfo);

    JsonResult outTourPal(String userId, String teamId);

    JsonResult preAppointViceCaptain(String userId, String teamId);

    void  appointViceCaptain( String teamId,String AppointedUserId);

    JsonResult preCancelViceCaptain(String userId, String teamId);

    void cancelViceCaptain(String canceledUserId, String teamId);

    JsonResult preAppointLeader (String userId, String teamId);

    JsonResult appointLeader(String appointedLeaderUserId, String teamId);

    JsonResult preAssignmentTourPal(String userId, String teamId);

    void assignmentTourPal(String userId,String assignmentedUserId,@RequestBody String teamId);
}
